@import '../../css/base.scss';
$overviewHeight: p2rm(134);
$weekHeight: p2rm(75);
.cal-overview-shift {
    height: p2rm(134 + 75);
}
.cal-overview-panel {
    position: absolute;
    top: $headerBarHeight;
    left: 0;
    width: 100%;
}
.cal-overview {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: $overviewHeight;
    padding-bottom: p2rm(42);
    border-bottom: solid 1px #e5e5e5;
    
    .cal-prod-price {
        padding-left: p2rm(40);
        font-size: p2rm(36);
        .note {
            font-size: p2rm(46);
            color: #f15a24;
        }
    }
    .cal-prod-total {
        padding-right: p2rm(40);
        font-size: p2rm(32);
    }
}
.cal-weekday {
    display: flex;
    justify-content: space-around;
    height: $weekHeight;
    line-height: $weekHeight;
    font-size: p2rm(32);
    background-color: #f9f9f9;
}
.cal-month-item {
    .cal-month-hd {
        display: flex;
        justify-content: center;
        height: p2rm(72);
        padding-top: p2rm(30);
        font-size: p2rm(32);
        color: #999;
    }
    .cal-month-bd {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
        .cal-day {
            flex: 0 0 (100% / 7);
            margin: 2px 0;
            font-size: p2rm(32);
            text-align: center;
        }
        .cal-day-through {
            background-color: #ffff77;
        }
        
    }
    .cal-day-circle {
        display: flex;
        justify-content: center;
        flex-direction: column;
        margin: 0 auto;
        height: p2rm(84);
        width: p2rm(84);
        border-radius: p2rm(84);
        .cal-day-tips {
            font-size: p2rm(20);
        }
    }
    .cal-day-start {
        position: relative;
        .cal-day-circle {
            position: relative;
            background-color: #ffd214;
            z-index: 9;
        }
        .cal-day-half-right {
            position: absolute;
            top: 0;
            right: 0;
            height: 100%;
            width: 50%;
            background-color: #ffff77;
            z-index: 8;
        }
    }
    .cal-day-end {
        position: relative;
        .cal-day-circle {
            position: relative;
            background-color: #ffd214;
            z-index: 9;
        }
        .cal-day-half-left {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 50%;
            background-color: #ffff77;
            z-index: 8;
        }
    }
}
.cal-op-sure {
    display: inline-block;
    height: p2rm(90);
    width: p2rm(670);
    border-radius: p2rm(90);
    line-height: p2rm(90);
    font-size: p2rm(32);
    text-align: center;
    color: #333;
    background: #ffd214;
}